import React from 'react';
export default function SvgIcon({ active }) {
	switch (active) {
		case 1:
			return (
				<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-333.000000, -265.000000)" fill="#0B6FD6">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 28.000000)">
														<g id="编组-7" transform="translate(0.000000, 46.000000)">
																<g id="3.Icon/1.线性/2.业务安全类/暗网" transform="translate(0.000000, 1.000000)">
																		<path d="M9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9307234,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 Z M6.03733228,13.4990639 C5.99670489,14.4556895 6.11940558,15.2993521 6.8888151,16.1987654 C7.5584707,16.3948336 8.26695388,16.5 9,16.5 C10.9217443,16.5 12.6746745,15.7772207 14.0017782,14.5886742 C12.1944653,14.7574319 10.2143346,14.4491941 7.22294211,13.1389444 C6.9508682,13.3154528 6.77824402,13.4347759 6.03733228,13.4990639 Z M1.50370734,8.75592143 C1.50370734,11.656553 2.75860823,13.7779052 4.6852416,15.1353291 C4.54248956,14.5343286 4.48946655,13.9997865 4.56898157,12.9863666 C4.06881574,12.5736849 3.75,12.0663414 3.75769301,11.062601 C2.56654191,10.0569542 1.81521336,9.28806105 1.50370734,8.75592143 Z M9.75,7.5 C9.39963139,7.5 9.0679673,7.41991639 8.77231388,7.27705529 C8.51468316,7.58130846 8.27135998,7.89704023 8.04051372,8.22672286 C7.92716911,8.38859573 7.6803198,8.7841267 7.29996578,9.41331575 C7.87482833,9.8209306 8.25,10.4916523 8.25,11.25 C8.25,11.4788345 8.21583855,11.6996902 8.15233723,11.9077454 C11.7978509,13.5056072 15.2435996,13.3618123 15.7917523,12.1870711 C16.3399051,11.0123299 14.9488576,8.91050376 11.3504145,6.83151024 C10.9425222,7.24424757 10.3761282,7.5 9.75,7.5 Z M6,10.5 C5.58578644,10.5 5.25,10.8357864 5.25,11.25 C5.25,11.6642136 5.58578644,12 6,12 C6.41421356,12 6.75,11.6642136 6.75,11.25 C6.75,10.8357864 6.41421356,10.5 6,10.5 Z M2.20535214,5.83095287 C1.81668821,6.66444535 2.60316196,8.167811 4.40985684,9.65685746 C4.77494779,9.29373453 5.26358184,9.05424747 5.80732776,9.008134 C6.27420664,8.18786544 6.52770193,7.77207182 6.81178566,7.3663582 C7.06889809,6.99916359 7.34022303,6.64709723 7.71304719,6.20693178 C7.57941102,5.92296436 7.50340692,5.60651745 7.50011182,5.272668 C4.73047986,4.55967904 2.65092997,4.87540813 2.20535214,5.83095287 Z M11.9347578,4.70990247 C11.977387,4.88292231 12.0117874,5.15803528 11.9894069,5.46973678 C14.0738125,6.61147582 15.5933221,7.93198728 16.4964429,9.23645319 C16.4964429,6.45555173 15.6954294,5.10987752 14.7273434,4.29148082 C13.5601208,4.15294119 13.0874483,4.19607413 11.9347578,4.70990247 Z M9.75,4.5 C9.33578644,4.5 9,4.83578644 9,5.25 C9,5.66421356 9.33578644,6 9.75,6 C10.1642136,6 10.5,5.66421356 10.5,5.25 C10.5,4.83578644 10.1642136,4.5 9.75,4.5 Z M9,1.5 C7.07789193,1.5 5.32466193,2.22305299 3.99746819,3.41200079 C5.10491822,3.30963481 6.24724098,3.39978669 7.98899999,3.84936867 C8.40122895,3.33176453 9.0368706,3 9.75,3 C10.255458,3 10.7219876,3.16667229 11.0976275,3.44805561 C11.9409022,3.04273469 12.5515978,2.84221533 13.1398804,2.74513647 C11.9531806,1.95819861 10.5300993,1.5 9,1.5 Z" id="形状"></path>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 2:
			return (
				<svg width="18px" height="17px" viewBox="0 0 18 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-596.000000, -266.000000)" fill="#0B6FD6">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 28.000000)">
														<g id="编组-18" transform="translate(263.000000, 0.000000)">
																<g id="编组-12" transform="translate(0.000000, 46.000000)">
																		<g id="3.Icon/1.线性/2.业务安全类/系统监控" transform="translate(0.000000, 2.000000)">
																				<path d="M16.3636364,0 C17.267375,0 18,0.743031559 18,1.65960744 L18,10.7874483 C18,11.7040242 17.267375,12.4470558 16.3636364,12.4470558 L9.81818182,12.4470558 L9.81818182,14.9364669 L16.474941,14.9364669 L16.474941,16.5960744 L1.74766825,16.5960744 L1.74766825,14.9364669 L8.18181818,14.9356371 L8.18181818,12.4470558 L1.63636364,12.4470558 C0.732624955,12.4470558 0,11.7040242 0,10.7874483 L0,1.65960744 C0,0.743031559 0.732624955,0 1.63636364,0 L16.3636364,0 Z M1.63636364,10.7874483 L16.3636364,10.7874483 L16.3636364,7.29812371 L7.30698488,7.29888917 L6.56358224,6.46909864 L4.34113994,8.91467354 L3.5220046,7.29888917 L1.63636364,7.29812371 L1.63636364,10.7874483 Z M16.3636364,1.65960744 L1.63636364,1.65960744 L1.63636364,5.63851627 L2.49803219,5.63928173 L3.76405432,3.57154629 L4.84341048,6.04731896 L6.47135949,4.11263266 L7.80177354,5.63928173 L16.3636364,5.63851627 L16.3636364,1.65960744 Z" id="形状"></path>
																		</g>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 3:
			return (
				<svg width="16px" height="19px" viewBox="0 0 16 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-913.000000, -265.000000)" fill="#FF0000">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 28.000000)">
														<g id="编组-19" transform="translate(580.000000, 0.000000)">
																<g id="编组-14" transform="translate(0.000000, 46.000000)">
																		<g id="3.Icon/1.线性/2.业务安全类/威胁" transform="translate(0.000000, 1.000000)">
																				<path d="M8.76149232,0.187304726 C9.86497616,0.774076589 10.9444796,1.1753899 12,1.39124466 C12.7678967,1.5482792 13.5484824,1.61234935 14.34176,1.5834551 C15.2248316,1.55128718 15.9667775,2.24108343 15.9989424,3.12415511 L16,3.1823948 L16,9.72875263 C16,12.6231201 14.4816536,15.3053358 12,16.7948899 L8.82342492,18.7015579 C8.31661945,19.0057563 7.68338586,19.0057563 7.17658039,18.7015579 L4,16.7948899 C1.51835167,15.3053358 0,12.6231201 0,9.72875263 L0,3.19502878 C0,2.31137171 0.71634559,1.59502612 1.6,1.59502612 L1.65391628,1.59593471 C2.42376657,1.62189029 3.20579536,1.55366028 4,1.39124466 C5.10676761,1.16491092 6.18988225,0.765344335 7.24934657,0.192544909 C7.72071433,-0.0623139055 8.28836739,-0.0642770257 8.76149232,0.187304726 Z M8.0102988,1.60000012 C6.81486018,2.2463217 5.5837688,2.70047767 4.32056867,2.95880246 C3.40475367,3.14608688 2.49714547,3.22527338 1.60000266,3.19502612 L1.60000266,9.72875263 C1.60000266,12.0611948 2.82357266,14.2226732 4.82342492,15.4230387 L8.00000266,17.3297067 L11.1765804,15.4230387 C13.1764327,14.2226732 14.4000027,12.0611948 14.4000027,9.72875263 L14.4000027,3.1823948 C13.4800602,3.21590256 12.5723059,3.14139447 11.6794366,2.95880246 C10.4676506,2.71099187 9.24447746,2.25626829 8.0102988,1.60000012 Z M9.63079853,3.95387444 L8.42894938,8.43923651 L11.4948372,8.43923651 L6.8134977,14.4681842 L8.06227192,9.80769543 L4.57453884,9.80769543 L9.63079853,3.95387444 Z" id="形状"></path>
																		</g>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 4:
			return (
				<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-914.000000, -265.000000)" fill="#FF0000">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 27.000000)">
														<g id="编组-19" transform="translate(581.000000, 1.000000)">
																<g id="编组-14" transform="translate(0.000000, 46.000000)">
																		<g id="3.Icon/1.线性/2.业务安全类/暗网" transform="translate(0.000000, 1.000000)">
																				<path d="M9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9307234,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 Z M6.03733228,13.4990639 C5.99670489,14.4556895 6.11940558,15.2993521 6.8888151,16.1987654 C7.5584707,16.3948336 8.26695388,16.5 9,16.5 C10.9217443,16.5 12.6746745,15.7772207 14.0017782,14.5886742 C12.1944653,14.7574319 10.2143346,14.4491941 7.22294211,13.1389444 C6.9508682,13.3154528 6.77824402,13.4347759 6.03733228,13.4990639 Z M1.50370734,8.75592143 C1.50370734,11.656553 2.75860823,13.7779052 4.6852416,15.1353291 C4.54248956,14.5343286 4.48946655,13.9997865 4.56898157,12.9863666 C4.06881574,12.5736849 3.75,12.0663414 3.75769301,11.062601 C2.56654191,10.0569542 1.81521336,9.28806105 1.50370734,8.75592143 Z M9.75,7.5 C9.39963139,7.5 9.0679673,7.41991639 8.77231388,7.27705529 C8.51468316,7.58130846 8.27135998,7.89704023 8.04051372,8.22672286 C7.92716911,8.38859573 7.6803198,8.7841267 7.29996578,9.41331575 C7.87482833,9.8209306 8.25,10.4916523 8.25,11.25 C8.25,11.4788345 8.21583855,11.6996902 8.15233723,11.9077454 C11.7978509,13.5056072 15.2435996,13.3618123 15.7917523,12.1870711 C16.3399051,11.0123299 14.9488576,8.91050376 11.3504145,6.83151024 C10.9425222,7.24424757 10.3761282,7.5 9.75,7.5 Z M6,10.5 C5.58578644,10.5 5.25,10.8357864 5.25,11.25 C5.25,11.6642136 5.58578644,12 6,12 C6.41421356,12 6.75,11.6642136 6.75,11.25 C6.75,10.8357864 6.41421356,10.5 6,10.5 Z M2.20535214,5.83095287 C1.81668821,6.66444535 2.60316196,8.167811 4.40985684,9.65685746 C4.77494779,9.29373453 5.26358184,9.05424747 5.80732776,9.008134 C6.27420664,8.18786544 6.52770193,7.77207182 6.81178566,7.3663582 C7.06889809,6.99916359 7.34022303,6.64709723 7.71304719,6.20693178 C7.57941102,5.92296436 7.50340692,5.60651745 7.50011182,5.272668 C4.73047986,4.55967904 2.65092997,4.87540813 2.20535214,5.83095287 Z M11.9347578,4.70990247 C11.977387,4.88292231 12.0117874,5.15803528 11.9894069,5.46973678 C14.0738125,6.61147582 15.5933221,7.93198728 16.4964429,9.23645319 C16.4964429,6.45555173 15.6954294,5.10987752 14.7273434,4.29148082 C13.5601208,4.15294119 13.0874483,4.19607413 11.9347578,4.70990247 Z M9.75,4.5 C9.33578644,4.5 9,4.83578644 9,5.25 C9,5.66421356 9.33578644,6 9.75,6 C10.1642136,6 10.5,5.66421356 10.5,5.25 C10.5,4.83578644 10.1642136,4.5 9.75,4.5 Z M9,1.5 C7.07789193,1.5 5.32466193,2.22305299 3.99746819,3.41200079 C5.10491822,3.30963481 6.24724098,3.39978669 7.98899999,3.84936867 C8.40122895,3.33176453 9.0368706,3 9.75,3 C10.255458,3 10.7219876,3.16667229 11.0976275,3.44805561 C11.9409022,3.04273469 12.5515978,2.84221533 13.1398804,2.74513647 C11.9531806,1.95819861 10.5300993,1.5 9,1.5 Z" id="形状"></path>
																		</g>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		default:
			break;
	}
}
